package com.wtwd.device.service;


import com.wtwd.device.model.entity.BloodPressureRecord;
import com.wtwd.device.model.vo.RespEntity;

/**
 * @author mjy
 * @date 2021/09/03
 * @description
 */
public interface BloodPressureRecordService {
    RespEntity getDaysBloodPressureRecordList(Long deviceId, String startTime, String endTime);

    RespEntity getMonthBloodPressureRecordList(Long deviceId, String month);

    RespEntity addBloodPressureRecord(BloodPressureRecord bloodPressureRecord);

    Integer clearBloodPressureRecordByDate(String date);

    BloodPressureRecord getBloodPressureRecordByDeviceIdAndTime(Long id, String time);

    Integer deletePressureRecordByDeviceId(Long id);
}
